package com.ruoyi.eqmonitor.service;

import com.ruoyi.eqmonitor.vo.CockpitInfoVo;
import com.ruoyi.eqmonitor.dtos.CockpitRiverwayAlarmDto;
import com.ruoyi.eqmonitor.dtos.OptDeviceAlarmDto;

import java.text.ParseException;
import java.util.List;
import java.util.Map;

public interface CockpitService {

    List<OptDeviceAlarmDto> cockpitRiverwayAlarm(CockpitRiverwayAlarmDto dto) throws ParseException;

    CockpitInfoVo getInfo(Long id, Integer alarmType);

    Map<String,String> selectCount(String name);

}
